console.log(process.version);
console.log(process.argv[1]);
console.log(process.platform);
console.log(process.arch);
console.log(process.cwd());
process.nextTick(function () {
    console.log('nextTick callback!');
});
console.log('nextTick was set!');

process.on('exit', code => {
    console.log('退出码为:', code);
});
console.log("程序执行结束");


console.log('--------------')
process.argv.forEach((val, index) => {
    console.log(`${index}: ${val}`);
});